package com.juyu.miliao.common.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * 数据验证错误
 * @author zc
 *
 */
@ResponseStatus(HttpStatus.BAD_REQUEST)
public class DataValidateException extends RuntimeException{
	private static final long serialVersionUID = -1839334768622418999L;

	public DataValidateException() {
		super();
	}

	public DataValidateException(String message, Throwable cause, boolean enableSuppression,
			boolean writableStackTrace) {
		super(message, cause, enableSuppression, writableStackTrace);
	}

	public DataValidateException(String message, Throwable cause) {
		super(message, cause);
	}

	public DataValidateException(String message) {
		super(message);
	}

	public DataValidateException(Throwable cause) {
		super(cause);
	}
	
}
